
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>欢迎使用</title>
    <!-- 请勿在项目正式环境中引用该 layui.css 地址 -->
    <link href="static/layui/css/layui.css" rel="stylesheet">
    <script src="static/js/jquery-1.8.3.js"></script>
</head>
<body>
<form class="layui-form layui-row layui-col-space16">
    <div class="layui-btn-container layui-col-xs12">
        <button class="layui-btn" lay-submit lay-filter="demo-table-search">欢迎使用智慧停车系统</button>
    </div>
</form>
<table class="layui-hide" id="ID-table-demo-search"></table>

<!-- 请勿在项目正式环境中引用该 layui.js 地址 -->
<script src="static/layui/layui.js"></script>
<script>
    layui.use(function(){
        var table = layui.table;
        var form = layui.form;
        var laydate = layui.laydate;
        // 搜索提交
        form.on('submit(demo-table-search)', function(data){
            location.href="/sys/toLogin"
            return false; // 阻止默认 form 跳转
        });
    });
</script>

</body>
</html>
